﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WFNetLib.MyControls;

namespace CarBlackBox
{
    public partial class Form_DrivingLog : Form
    {
        public Form_DrivingLog()
        {
            InitializeComponent();
        }

        private void Form_DrivingLog_Load(object sender, EventArgs e)
        {
            ToolStripDateTimePicker startDateTimePicker = new ToolStripDateTimePicker(DateTime.Now.AddDays(-7));
            startDateTimePicker.Control.Width = 120;
            toolStrip1.Items.Insert(7, startDateTimePicker);
            ToolStripDateTimePicker endDateTimePicker = new ToolStripDateTimePicker(DateTime.Now);
            endDateTimePicker.Control.Width = 120;
            toolStrip1.Items.Insert(9, endDateTimePicker);
        }
    }
}
